#!/bin/sh
###################################################################################
#
# (c) Copyright 2014 Hewlett-Packard Development Company, L.P. All rights reserved.
#
# @since 3.2
# @author Yang, Lin
#
# input in form of snap-mgmt.properties
#
# output as JSON:
# {
#   results                      (array)
#   [                            
#       session_server           (string)
#       state                    (string, enumerated: Stopped, Running)
#       server_status            (string, enumerated: IDLE, STARTING, ACTIVE, STOPPING)
#       biz_service_status       (string, enumerated: IDLE, Starting, Standby, Running)
#   ]
# }
###################################################################################

SNAP_MGMT_PROPS="$(cat snap-mgmt.properties)"

./snap-mgmt.sh status "$SNAP_MGMT_PROPS"
